package com.example.tests;

import org.testng.annotations.Test;

public class ContactCreationTest extends TestBase {

	@Test
	public void ContactCreationTest() throws Exception {
		ContactObjectClass validContact = new ContactObjectClass("Alex",
				"Ivanov", "NY 81212", "Home_phone", "+1", "14082223344",
				"14082223344", "+14082223344", "ext. 4523", "emai1@gmail.com",
				"emai2@yahoo.com", "1921", "Secondary", "Secondary", "3", "February" , "2Group name:");
		app.getContactHelper().contactCreationTest(validContact);
	}

	@Test
	public void ContactCreationTestWithEmtyData() throws Exception {
		ContactObjectClass emtyContact = new ContactObjectClass("", "", "", "",
				"", "", "", "", "", "", "", "", "", "", "-", "-", "");
		app.getContactHelper().contactCreationTest(emtyContact);
	}

}
